package com.koron.standard.jobStock.experiment.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.koron.standard.jobStock.experiment.bean.po.Experiment;
import com.koron.standard.jobStock.experiment.bean.vo.ExperimentVO;
import org.apache.ibatis.annotations.Param;

/**
 * 试验标准信息(Experiment)表数据库访问层
 *
 * @author jzp
 * @since 2021-09-16
 */
public interface ExperimentMapper extends BaseMapper<Experiment> {
    ExperimentVO getVoById(String id);

    Page<ExperimentVO> selectPageVo(@Param("page") IPage<ExperimentVO> page, @Param(Constants.WRAPPER) Wrapper<ExperimentVO> queryWrapper);

}
